<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<s:debug></s:debug>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>书本的头部</title>
<link href="<%=basePath%>/Tools/toolsOfDong/bootstrap.min.css"
	rel="stylesheet" type="text/css" />
<script src="../../Tools/toolsOfDong/jquery.min.js"
	type="text/javascript"></script>
<script
	src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script
	src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
欢迎您！<s:property value="#session.exitUser.userName" /><br>
该用户的ID是：<s:property value="#session.exitUser.userId" />

	<div align="center">
		<div style="width: 1200px;">
			<nav class="navbar navbar-default" role="navigation">

			
			<div>
				<ul class="nav navbar-nav">
					<li class="dropdown active"><a href="#" class="dropdown-toggle"
						data-toggle="dropdown">欢迎您！<s:property value="#session.exitUser.userName" /><b class="caret"></b>
					</a>
						<ul class="dropdown-menu">
						<!--获取当前用户的id 并挑转到用户信息编辑页面  -->
						<s:if test="#session.exitUser.userName!=null">
							
							<li><a href="user_edit.action?userId=<s:property value="#session.exitUser.userId"/>">管理我账号</a></li>
							<li class="divider"></li>
							<li><a href="userallOrders.action">我的订单</a></li>
							<li><a href="#">我的足迹</a></li>
							<li class="divider"></li>
							<li><a href="list_Car.action">我的购物车</a></li>
							<li class="divider"></li>
							<li><a href="user_quitelogin.action">退出登录</a></li>
						</s:if>
						<s:else>
							<li><a href="jsp/jspOfDong/Login.jsp">登录</a>
						</s:else>
							
						</ul></li>
				</ul>
			</div>
			
			<div>
				<ul class="nav navbar-nav">
					<li><a href="#">进入网上书店</a></li>
				</ul>
			</div>
			
			<div class="navbar-right" style="margin-right: 5px;">
				<ul class="nav navbar-nav">
					<li class=""><a href="#">iOS</a></li>
					<li><a href="#">SVN</a></li>
					<li><a href="#">SVN</a></li>
					<li><a href="#">SVN</a></li>
					<li class="dropdown"><a href="#" class="dropdown-toggle"
						data-toggle="dropdown">网站导航<b class="caret"></b></a>
						<ul class="dropdown-menu">
							<li><a href="#">1</a></li>
							<li><a href="#">2</a></li>
							<li><a href="#">3</a></li>
							<li class="divider"></li>
							<li><a href="#">4</a></li>
						</ul></li>
				</ul>
			</div>
			
			
			</nav>
		</div>
	</div>
	<p align="center">以上是显示所有图书的页面头部：/Book/WebRoot/jsp/jspOfDong/topOfBookForm.jsp</p>
</body>
</html>